package com.example.DTO;

import jakarta.validation.constraints.NotEmpty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public class SuggestionDTO {
        private Integer id;//主键ID
        @NotEmpty
        private String title;//文章标题
        private String highlightedTitle; // 高亮后的标题
    }

